(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[603],{9468:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/releases/[[...slug]]",function(){return c(788)}])},788:function(a,b,c){"use strict";c.r(b),c.d(b,{"__N_SSG":function(){return s},"default":function(){return t}});var d=c(5893),e=c(3153),f=c(3801),g=c(5010);function h(a){var b=a.period,c=a.children;return(0,d.jsxs)("div",{className:"md:px-4",children:[(0,d.jsx)("div",{className:"sticky z-10 px-4 py-2 text-xs font-medium tracking-widest uppercase bg-white border-b top-[4rem] md:top-[8.25rem] md:text-xl md:font-brand md:normal-case md:font-medium md:tracking-tight md:px-0",children:b}),(0,d.jsx)("div",{className:"divide-y md:divide-y-0 md:grid md:grid-cols-3",children:c})]})}var i=c(1664);function j(a){var b=a.item;return(0,d.jsx)(i.default,{href:"/s/".concat(b.slug,"/").concat(b.id),children:(0,d.jsxs)("a",{className:"flex items-center space-x-4",children:[(0,d.jsx)("div",{className:"w-2/5",children:(0,d.jsx)("div",{className:"aspect-h-1 aspect-w-1",children:(0,d.jsx)("img",{src:b.image_url,alt:b.name})})}),(0,d.jsxs)("div",{className:"w-3/5",children:[(0,d.jsx)("h2",{className:"flex-1 font-medium leading-snug line-clamp-2 md:pr-8 font-brand ",children:b.name}),(0,d.jsx)("div",{className:"text-sm font-light",children:b.release_date_from_now})]}),(0,d.jsx)("div",{className:"pr-4 md:hidden",children:(0,d.jsx)(f.XCv,{className:"w-5 h-5 text-gray-500"})})]})})}var k=c(7294),l=c(5935),m=c(9008),n=c(6486),o=c(1163),p=c(7058);function q(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function r(a){for(var b=1;b1?" | ".concat(u("page-of",{page:z.page,lastPage:z.lastPage})," "):"","| Sneakerjagers"]}),(0,d.jsx)("meta",{name:"description",content:s("meta-description-releases")}),(0,d.jsx)("link",{rel:"canonical",href:K})]}),!x.includes("releases/page")&&x.includes("page")&&(0,d.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,d.jsx)(g.CD,{title:(null===(c=z.collection)||void 0===c?void 0:c.name)||z.title||"Releases",count:z.count,page:z.page,lastPage:z.lastPage,children:(0,d.jsxs)("div",{className:"flex max-w-xl mx-auto mt-6 font-semibold justify-evenly font-brand",children:[(0,d.jsx)(i.default,{href:"/releases",children:(0,d.jsxs)("a",{className:"flex items-center space-x-1 border-b-2 ".concat("upcoming"==D?"border-primary-500":"border-transparent"),children:[(0,d.jsx)(e.a3z,{className:"w-5 h-5"}),(0,d.jsx)("span",{children:"Upcoming"})]})}),(0,d.jsx)(i.default,{href:"/releases/out-now",children:(0,d.jsxs)("a",{className:"flex items-center space-x-1 border-b-2 ".concat("out-now"==D?"border-primary-500":"border-transparent"),children:[(0,d.jsx)(e.YqE,{className:"w-5 h-5"}),(0,d.jsx)("span",{children:"Out Now"})]})})]})}),(0,d.jsx)("div",{className:"sticky z-20 flex px-4 py-2 space-x-2 bg-white top-16 md:top-20",children:(0,d.jsx)(g.x$,{filters:G,setFilters:H,data:z,setData:A,path:B.asPath.includes("out-now")?"/releases/out-now":"/releases"})}),Object.keys(z.items).length>0?(0,d.jsxs)(d.Fragment,{children:[Object.keys(z.items).map(function(a,b){return(0,d.jsx)(h,{period:a,children:z.items[a].map(function(a){return(0,d.jsx)(j,{item:a},a.id)})},a)}),(0,d.jsx)(g.tl,{page:z.page,hasMorePages:z.hasMorePages,path:"/releases"})]}):(0,n.times)(12,function(a){return(0,d.jsxs)("div",{className:"relative md:w-auto animate-pulse",children:[(0,d.jsx)("div",{className:"mb-2 rounded-lg bg-gray-50 aspect-w-1 aspect-h-1"}),(0,d.jsx)("div",{className:"w-12 h-5 mb-1 bg-gray-50 rounded-xl"}),(0,d.jsx)("div",{className:"w-4/5 h-6 mb-0.5 bg-gray-50 rounded-xl"}),(0,d.jsx)("div",{className:"w-2/3 h-6 mb-1 bg-gray-50 rounded-xl"}),(0,d.jsx)("div",{className:"w-24 h-5 bg-gray-50 rounded-xl"})]},a)}),z.content&&(0,d.jsx)("article",{dangerouslySetInnerHTML:{__html:z.content},className:"px-4 py-8 prose-sm prose max-w-3xl"})]})}}},function(a){a.O(0,[935,153,774,888,179],function(){return a(a.s=9468)}),_N_E=a.O()}])